package cn.hairui.blog.service;

import cn.hairui.blog.dao.LinkMapper;
import cn.hairui.blog.entity.Link;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 友情链接表 服务实现类
 * </p>
 *
 * @author laoganbu
 * @since 2020-04-12
 */
@Service
public class LinkServiceImpl extends ServiceImpl<LinkMapper, Link> implements LinkService {

    @Autowired
    private LinkMapper linkMapper;

    @Override
    public List<Map> list() {
        return linkMapper.list();
    }
}
